//
//  ZFResponseModel.h
//  XzfPos
//
//  Created by wd on 2018/11/28.
//  Copyright © 2017年 a. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ResponseModel : NSObject

@property (nonatomic, assign) NSInteger code;
@property (nonatomic, assign) NSInteger isAllowed;
@property (nonatomic, strong) NSString *message;
@property (nonatomic, strong) NSString *datetime;
@property (nonatomic, assign) NSInteger currentPage;//当前页数
@property (nonatomic, assign) NSInteger totalPage;  //总页数
@property (nonatomic, assign) NSInteger totalResult;//总个数
@property (nonatomic, strong) id data;

@property (nonatomic, strong) NSError *error;
@property (nonatomic, strong) NSString *url;

- (id)initWithResponseObject:(id)responseObject;

- (id)initWithResponseObject:(id)responseObject url:(NSString *)url;

@end
